package sample;

import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.PasswordField;
import javafx.scene.control.TextField;
import javafx.scene.input.MouseEvent;
import javafx.scene.layout.AnchorPane;

public class Controller {


    @FXML
    private AnchorPane parent;

    @FXML
    private TextField email_address;

    @FXML
    private Button login_button;

    @FXML
    private PasswordField pass_word;

    @FXML
    private Button close_app;

    @FXML
    void login(ActionEvent event) {

    }

    @FXML
//    关闭页面
    void close_app(MouseEvent event) {
     System.exit(0);
    }
}
